using System;

namespace sforceExplorer
{
	/// <summary>
	/// Summary description for SoapRecord.
	/// </summary>
	public class SoapRecord
	{
		private string request;
		private string response;
		private DateTime requestDate;

		public string Request 
		{
			get { return request; }
			set 
			{
				requestDate = DateTime.Now;
				response = "";
				request = value;
			}
		}
		public string Response 
		{
			get { return response; }
			set { response = value; }
		}
		public DateTime RequestDate 
		{
			get { return requestDate; }
		}

		public override string ToString()
		{
			return requestDate.ToString();
		}
		public SoapRecord()
		{
			//
			// TODO: Add constructor logic here
			//
		}
	}
}
